import request from '@/utils/request'

// 协议列表
export function agreementLists(params?: Record<string, any>) {
    return request.get({ url: '/agreement/list', params })
}

// 协议详情
export function agreementDetail(params: Record<string, any>) {
    return request.get({ url: '/agreement/detail', params })
}

// 协议新增
export function agreementAdd(params: Record<string, any>) {
    return request.post({ url: '/agreement/add', params })
}

// 协议编辑
export function agreementEdit(params: Record<string, any>) {
    return request.post({ url: '/agreement/edit', params })
}

// 协议删除
export function agreementDelete(params: Record<string, any>) {
    return request.post({ url: '/agreement/del', params })
}
